package edu.yctc.delivery.service;

import edu.yctc.delivery.entity.ResultDO;

public interface WarpperService {

    /**
     * 发手机验证码
     * 
     * @param mobile
     * @return
     */
    public ResultDO<Void> sendSmsVerificationCode(String mobile);

    /**
     * 发送短信
     * 
     * @param mobile
     * @param content
     * @return
     */
    public ResultDO<String> sendSms(String mobile, String content);

    /**
     * 发送邮箱验证码
     * 
     * @param mail
     * @return
     */
    public ResultDO<Void> sendVerificationCodeMail(String mail);

}
